Initial Commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class Zend_View_Helper_VariabiliSito extends Zend_View_Helper_Abstract
|
||||
{
|
||||
protected $_service;
|
||||
|
||||
public function variabilisito($info = null)
|
||||
{
|
||||
if (null === $this->_service) {
|
||||
$this->_service = new App_Service_VariabiliSito();
|
||||
}
|
||||
if (null === $info) {
|
||||
return $this;
|
||||
}
|
||||
return $this->_service->get($info);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user