lib/models/AclRoleQuery.php
public function prioritizeNonType($event = null)
    {
        $objectTypePrefix = ObjectType::modelPrefix() . '-';
        if (!isset($this->orderBy)) {
            $this->orderBy = [];
        }
        $prioritize = [
            'IF([[controlled_object_id]] LIKE "' . addslashes($objectTypePrefix) . '%", 0, 1)' => SORT_DESC,
        ];
        $this->orderBy = array_merge($prioritize, $this->orderBy);
    }
public function prioritizeNonType($event = null)
    {
        $objectTypePrefix = ObjectType::modelPrefix() . '-';
        if (!isset($this->orderBy)) {
            $this->orderBy = [];
        }
        $prioritize = [
            'IF([[controlled_object_id]] LIKE "' . addslashes($objectTypePrefix) . '%", 0, 1)' => SORT_DESC,
        ];
        $this->orderBy = array_merge($prioritize, $this->orderBy);
    }
public function prioritizeNonType ( $ event = null ) { $ objectTypePrefix = ObjectType :: modelPrefix ( ) . '-' ; if ( ! isset ( $ this -> orderBy ) ) { $ this -> orderBy = [ ] ; } $ prioritize = [ 'IF([[controlled_object_id]] LIKE "' . addslashes ( $ objectTypePrefix ) . '%", 0, 1)' => SORT_DESC , ] ; $ this -> orderBy = array_merge ( $ prioritize , $ this -> orderBy ) ; }
[[@doctodo method_description:prioritizeNonType]].

@param [[@doctodo param_type:event]] $event [[@doctodo param_description:event]] [optional]
[[ @doctodo method_description : prioritizeNonType ]] .