MetaModels\Attribute\IAttribute::sortIds PHP 메소드

sortIds() 공개 메소드

Sorts the given array list by field value in the given direction.
public sortIds ( string[] $idList, string $strDirection ) : string[]
$idList string[] A list of Ids from the MetaModel table.
$strDirection string The direction for sorting. either 'ASC' or 'DESC', as in plain SQL.
리턴 string[] The sorted array.
    public function sortIds($idList, $strDirection);