コード例 #1
0
 function getRelationsManyToManyFor($table_name)
 {
     $table = $this->_db_info->getTable($table_name);
     $relation_tables = $this->_findManyToManyRelationTableFor($table);
     $relations = array();
     foreach ($relation_tables as $relation_table) {
         $relations = array_merge($relations, $this->_formRelationManyToMany($table, $relation_table));
     }
     return $relations;
 }