D
digitalpoint
Guest
The use of the func_num_args() function within the
Let's say we have a class extension that hooks into the Finder::where() method...
PHP:
Read more
Continue reading...
XF/Mvc/Entity/Finder
class makes those methods not extendable because if you pass null to the method, it's counted as an argument that was passed.Let's say we have a class extension that hooks into the Finder::where() method...
PHP:
Code:
namespace Addon\XF\Finder;
class User extends XFCP_User
{
public function where($condition, $operator = null, $value = null)
{
return parent::where($condition, $operator, $value);
}...
Read more
Continue reading...