@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Get all related materials |
| 51 | - * @return \samson\cms\CMSMaterial[] Collection of related materials |
|
| 51 | + * @return \samson\cms\Material[] Collection of related materials |
|
| 52 | 52 | */ |
| 53 | 53 | public function & materials() |
| 54 | 54 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * Get all related fields |
| 73 | - * @return \samson\cms\Field[] Collection of related fields |
|
| 73 | + * @return \samson\cms\NavigationField[] Collection of related fields |
|
| 74 | 74 | */ |
| 75 | 75 | public function &fields() |
| 76 | 76 | { |
@@ -1,7 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace samsoncms\api; |
| 3 | 3 | |
| 4 | -use samson\activerecord\dbRelation; |
|
| 5 | 4 | use samson\activerecord\field; |
| 6 | 5 | use samson\activerecord\materialfield; |
| 7 | 6 | use samson\activerecord\structure; |
@@ -10,7 +9,6 @@ discard block |
||
| 10 | 9 | use samson\activerecord\TableRelation; |
| 11 | 10 | use samson\activerecord\material; |
| 12 | 11 | use samson\core\CompressableService; |
| 13 | -use samson\activerecord\dbRecord; |
|
| 14 | 12 | use samson\activerecord\dbMySQLConnector; |
| 15 | 13 | |
| 16 | 14 | /** |