本文整理汇总了PHP中Proxy::find方法的典型用法代码示例。如果您正苦于以下问题:PHP Proxy::find方法的具体用法?PHP Proxy::find怎么用?PHP Proxy::find使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Proxy
的用法示例。
在下文中一共展示了Proxy::find方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: indexAction
/**
* The start action, it shows the "search" view
*/
public function indexAction()
{
$searchParams = ['ping.batchId' => 'batchId', 'ping.proxyId' => 'proxyId', 'b.urlId' => 'urlId'];
Tag::setDefaults(array('urlId' => $this->request->get('urlId'), 'proxyId' => $this->request->get('proxyId'), 'pingId' => $this->request->get('pingId'), 'batchId' => $this->request->get('batchId')));
$this->view->pings = $this->searchPings($searchParams);
$this->view->proxies = Proxy::find();
$this->view->urls = Url::find();
$this->view->batches = Batch::find();
#$this->view->disable();
}
示例2: newAction
/**
* Shows the view to create a "new" product
*/
public function newAction()
{
$reflection = new FormReflectionManager($this->flash);
$this->view->name = $reflection->get('name');
$this->view->urls = Url::find() ?: array();
$this->view->proxies = Proxy::find() ?: array();
$this->view->reflected_proxyId = explode(',', $reflection->get('proxyId'));
$this->view->reflected_address = explode(',', $reflection->get('address'));
#$this->view->disable();
}
示例3: indexAction
/**
* The start action, it shows the "search" view
*/
public function indexAction()
{
$proxies = Proxy::find();
$this->view->proxies = $proxies;
#$this->view->disable();
}