Reply to thread

Hello Opik,

 

Edit: 25032013-1800

 

don't try this. :P

 

 

[PHP]  public function getPrefixesByGroups(array $conditions = array(), array $fetchOptions = array(), &$prefixCount = 0)

    {

 

    $this->standardizeViewingUserReference($viewingUser);

        $prefixes = $this->getPrefixes($conditions, $fetchOptions);

        $prefixGroups = array();

        foreach ($prefixes AS $prefix)

    {

      if ($this->_verifyPrefixIsUsableInternal($prefix, $viewingUser))

        {

            $prefixGroups[$prefix['prefix_group_id']][$prefix['prefix_id']] = $this->preparePrefix($prefix);

        }

    }

        $prefixCount = count($prefixes);

        return $prefixGroups;

 

  }[/PHP]


Back
Top Bottom