protected function schema($field = null)
    {
        if ($field === null) {
            return $this->schema;
        } else {
            if (isset($this->schema[$field])) {
                return $this->schema[$field];
            } else {
                return false;
            }
        }
    }
protected function schema($field = null)
    {
        if ($field === null) {
            return $this->schema;
        } else {
            if (isset($this->schema[$field])) {
                return $this->schema[$field];
            } else {
                return false;
            }
        }
    }
protected function schema ( $ field = null ) { if ( $ field === null ) { return $ this -> schema ; } else { if ( isset ( $ this -> schema [ $ field ] ) ) { return $ this -> schema [ $ field ] ; } else { return false ; } } }
Return the schema structure.

@param null|string $field Schema name

@return array
Return the schema structure .