titanscssc::lib_max PHP Method

lib_max() protected method

protected lib_max ( $args )
    protected function lib_max($args)
    {
        $numbers = $this->getNormalizedNumbers($args);
        $max = null;
        foreach ($numbers as $key => $number) {
            if (null === $max || $number[1] >= $max[1]) {
                $max = array($key, $number[1]);
            }
        }
        return $args[$max[0]];
    }
titanscssc