for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace micro\controllers\admin;
use micro\orm\DAO;
use micro\orm\OrmUtils;
/**
* The base class for displaying datas in UbiquityMyAdminController
* @author jc
*
*/
class UbiquityMyAdminData {
* Returns the table names to display in the left menu
public function getTableNames(){
return DAO::$db->getTablesName();
}
* Returns the fields to display in the showTable action for $model
* @param string $model
public function getFieldNames($model){
return OrmUtils::getSerializableFields($model);
public function getFormFieldNames($model){
public function getManyToManyDatas($fkClass,$instance,$member){
$instance
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$member
return DAO::getAll($fkClass);
public function getUpdateOneToManyInForm() {
return false;
public function getUpdateManyToManyInForm() {
return true;
public function getUpdateManyToOneInForm() {
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.