lithium\tests\mocks\data\model\MockDocumentPost::schema PHP Méthode

schema() public static méthode

public static schema ( $field = null )
    public static function schema($field = null)
    {
        $schema = parent::schema();
        $schema->append(array('_id' => array('type' => 'id'), 'foo' => array('type' => 'object'), 'foo.bar' => array('type' => 'int')));
        return $schema;
    }