Oil\Generate Class

package Fuel
subpackage Oil
category Core
author Phil Sturgeon

 Methods

build()

build() 

class_name()

class_name($name) 

Parameters

$name

config()

config($args) 

Parameters

$args

controller()

controller($args, $build) 

Parameters

$args

$build

create()

create($filepath, $contents, $type) 

Parameters

$filepath

$contents

$type

help()

help() 

migration()

migration($args, $build) 

Parameters

$args

$build

model()

model($args, $build) 

Parameters

$args

$build

module()

module($args) 

Parameters

$args

normalize_args()

normalize_args(array $args) 

Parameters

$args

package()

package($args, $build) 

Parameters

$args

$build

task()

task($args, $build) 

Parameters

$args

$build

views()

views($args, $subfolder, $build) 

Parameters

$args

$subfolder

$build

_create_test()

_create_test($type, $class_name, $base_path, $nav_item) 

Parameters

$type

$class_name

$base_path

$nav_item

_find_migration_number()

_find_migration_number() 

_update_current_version()

_update_current_version($version) 

Parameters

$version

 Properties

 

$create_files

$create_files 

 

$create_folders

$create_folders 

 

$scaffolding

$scaffolding 

 

$_field_defaults

$_field_defaults