Пример #1
0
 /**
  * Get the mysql table used for the scheme
  *
  * @param One_Scheme $scheme
  * @return string
  */
 public function getDatasource(One_Scheme $scheme)
 {
     $source = $scheme->getView();
     if (is_null($source)) {
         $resources = $scheme->getResources();
         $source = $resources['table'];
     }
     return $source;
 }