Vhost: tableName: vhost columns: account_id: foreignClass: Account foreignName: account localName: AccountVhosts vhost: {type: string, size: 254} http_document_root: {type: string, size: 2048} http_admin_email: {type: string, size: 150} http_cgi_status: {type: string, size: 1} http_cgi_dir: {type: string, size: 2048} http_log: {type: string, size: 2048} http_log_error: {type: string, size: 2048} http_directory_index: {type: string, size: 254} http_alias: {type: string, size: 5000} http_error_document: {type: string, size: 254} http_max_clients_vhost: {type: integer(4)} http_server_alias: {type: string, size: 254} http_virtual_document_root: {type: string, size: 254} php_open_basedir: {type: string, size: 2048} php_admin_email: {type: string, size: 150} php_tmp_dir: {type: string, size: 2048} php_tmp_session: {type: string, size: 2048} php_sendmail_mail: {type: string, size: 100} php_allow_url_fopen: {type: [Off, On] } php_allow_url_include: {type: [Off, On] } php_enable_dl: {type: [Off, On] } php_file_uploads: {type: [Off, On] } php_mysql_allow_persistent: {type: [Off, On] } php_post_max_size: {type: integer(5)} php_register_globals: {type: [Off, On] } php_safe_mode: {type: [Off, On] } php_safe_mode_allowed_env_vars: {type: string,size: 50 } php_safe_mode_exec_dir: {type: string,size: 2048 } php_session_auto_start: {type: [Off, On] } php_session_cache_expire: {type: [Off, On] } php_session_cookie_domain: {type: integer(20) } php_session_use_cookies: {type: [Off, On] } setTableName('vhost'); $this->hasColumn('account_id', 'integer', 10, array ( 'columnName' => NULL,)); $this->hasColumn('vhost', 'string', 254, array ( 'columnName' => NULL,)); $this->hasColumn('http_document_root', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('http_admin_email', 'string', 150, array ( 'columnName' => NULL,)); $this->hasColumn('http_cgi_status', 'string', 1, array ( 'columnName' => NULL,)); $this->hasColumn('http_cgi_dir', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('http_log', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('http_log_error', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('http_directory_index', 'string', 254, array ( 'columnName' => NULL,)); $this->hasColumn('http_alias', 'string', 5000, array ( 'columnName' => NULL,)); $this->hasColumn('http_error_document', 'string', 254, array ( 'columnName' => NULL,)); $this->hasColumn('http_max_clients_vhost', 'integer', 4, array ( 'columnName' => NULL,)); $this->hasColumn('http_server_alias', 'string', 254, array ( 'columnName' => NULL,)); $this->hasColumn('http_virtual_document_root', 'string', 254, array ( 'columnName' => NULL,)); $this->hasColumn('php_document_root', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('php_admin_email', 'string', 150, array ( 'columnName' => NULL,)); $this->hasColumn('php_tmp_dir', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('php_tmp_session', 'string', 2048, array ( 'columnName' => NULL,)); $this->hasColumn('php_sendmail_mail', 'string', 100, array ( 'columnName' => NULL,)); $this->hasColumn('php_allow_url_fopen', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_allow_url_include', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_enable_dl', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_file_uploads', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_mysql_allow_persistent', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_post_max_size', 'integer', 5, array ( 'columnName' => NULL,)); $this->hasColumn('php_register_globals', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_safe_mode', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_safe_mode_allowed_env_vars', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 'string,size' => 50, ),)); $this->hasColumn('php_safe_mode_exec_dir', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 'string,size' => 2048, ),)); $this->hasColumn('php_session_auto_start', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_session_cache_expire', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); $this->hasColumn('php_session_cookie_domain', 'integer', 20, array ( 'columnName' => NULL,)); $this->hasColumn('php_session_use_cookies', 'enum', null, array ( 'columnName' => NULL, 'values' => array ( 0 => 'Off,On', ),)); } public function setUp() { $this->hasOne('Account as account', 'Vhost.account_id', array('foreign' => 'id')); } }