Esempio n. 1
0
 /**
  * Override the default method to allow for skipping table creation
  *
  * @access public
  * @subpackage Yireo
  * @param string $name
  * @param string $prefix
  * @param array $options
  * @return mixed
  */
 public function getTable($name = '', $prefix = 'Table', $options = array())
 {
     if ($this->_skip_table == true) {
         return null;
     }
     if (empty($name)) {
         $name = $this->_tbl_alias;
     }
     if (!empty($this->_tbl_prefix)) {
         $prefix = $this->_tbl_prefix;
     }
     return parent::getTable($name, $prefix, $options);
 }