Completed
Push — master ( 29ed75...a64902 )
by Jason
29s
created

code/LocationCategory.php (2 issues)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
class LocationCategory extends DataObject
4
{
5
    private static $db = array(
6
        'Name' => 'Varchar(100)',
7
    );
8
9
    private static $has_many = array(
10
        'Locations' => 'Location',
11
    );
12
13
    private static $belogs_many_many = array(
14
        'Locators' => 'Locator'
15
    );
16
17
    private static $singular_name = "Category";
1 ignored issue
show
The property $singular_name is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
18 1
    Private static $plural_name = "Categories";
1 ignored issue
show
The property $plural_name is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
19
20
    private static $default_sort = 'Name';
21
}
22