Pluf_Model_InArray() Pluf_Model_InArray( $model, $array) : boolean Check if a model is already in an array of models. It is not possible to override the == function in PHP to directly use in_array. Parameters $model $array Returns boolean
Pluf_Model_RemoveDuplicates() Pluf_Model_RemoveDuplicates( $array) : array Return a list of unique models. Parameters $array Returns array — Models with duplicates.