Initial Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class Zend_View_Helper_AllowedIp extends Zend_View_Helper_Abstract
|
||||
{
|
||||
protected $_ipManager;
|
||||
|
||||
public function allowedIp()
|
||||
{
|
||||
if (null === $this->_ipManager) {
|
||||
$this->_ipManager = new App_Service_IpManager();
|
||||
}
|
||||
|
||||
return $this->_ipManager->allowedIp();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user