/** * Get the list of fields * * @param mixed $Field * @param mixed $Table * @return ifx_Model */ private final function _fields($Table = null) { if (is_null($Table)) { $Table = $this->_table(); } if (is_a($Table, 'ifx_Model')) { $Table = $Table->_table(); } if (!isset(self::$_existing_fields[$Table])) { self::$_existing_fields[$Table] = $this->db->list_fields($Table); } return self::$_existing_fields[$Table]; }