_object_name = strtolower(substr(get_class($this), 6)); // Table name is the same as the object name in uppercase $this->_table_name = $this->_object_name; if ($this->_table_names_plural === TRUE) { // Make the table name plural $this->_table_name = Inflector::plural($this->_object_name); } $this->_table_name = strtoupper($this->_table_name); parent::_initialize(); } } ?>