Properties

Properties existing in the Solar_Cli_MakeModel class.

Public

None.

Protected

$_Solar_Cli_MakeModel

(array) Default configuration values.

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

$_console

(Solar_Controller_Console) The Solar_Controller_Console object (if any) that invoked this command.

Inherited from Solar_Controller_Command.

$_extends

(string) The class name this model extends from.

$_getopt

(Solar_Getopt) A Solar_Getopt object to manage options and parameters.

Inherited from Solar_Controller_Command.

$_index_info

(string) The indexes from the table.

$_inherit

(bool) Is the model class inherited or not?

$_options

(array) Option flags and values extracted from the command-line arguments.

Inherited from Solar_Controller_Command.

$_stderr

(resource) File handle pointing to STDERR for error output.

Inherited from Solar_Controller_Command.

$_stdout

(resource) File handle pointing to STDOUT for normal output.

Inherited from Solar_Controller_Command.

$_table_cols

(array) The columns from the table.

$_table_name

(string) The table name we're making the model from.

$_target

(string) The base directory where we will write the class file to, typically the local PEAR directory.

$_tpl

(array) Array of model-class templates (skeletons).

Private

None.



Local