<?php
namespace gnomephp\crud;
interface CRUD_Entity{
/**
* Should return a readable name of the entity, eg. the NewsItem entity can be called "News".
*/
public function getReadableName();
/**
* Should return an array of key => readable name of fields in the entity.
* Example:
* return array( 'id' => 'Identification', 'name' => 'Name');
* @return array See method explaination.
*/
public function getFieldNames();
}