/** * Get the distinct values of a single parameter of the current object. * * @param string $strKey The parameter to inspect * @param string $strOrderBy The order of the returned results, default strKey ASC * @return Array of strings. */ function distinct_values($strKey, $strOrderBy = NULL) { return MyActiveRecord::DistinctValues(get_class($this), $strKey, $strOrderBy); }