Package::load('oil');do
Autoloader::add_classes(array(for the classes you want to replace.
'Oil\\Generate_Migration_Actions' => APPPATH.'/classes/oil/generate/migration/actions.php',
));
if (\Cli::option('crud'))
{
if (\Cli::option('crud'))
{
if($created_at = \Cli::option('created-at'))
{
is_string($created_at) or $created_at = 'created_at';
$contents .= <<<CONTENTS
protected static \$_created_at = '$created_at';
CONTENTS;
}
if($created_by = \Cli::option('created-by'))
{
is_string($created_by) or $created_by = 'created_by';
$contents .= <<<CONTENTS
protected static \$_created_by = '$created_by';
CONTENTS;
}
if($updated_at = \Cli::option('updated-at'))
{
is_string($updated_at) or $updated_at = 'updated_at';
$contents .= <<<CONTENTS
protected static \$_updated_at = '$updated_at';
CONTENTS;
}
It looks like you're new here. If you want to get involved, click one of these buttons!