[limb-svn] r6717 - in 3.x/trunk/limb/web_app/src/wact: . fetch
svn at limb-project.com
svn at limb-project.com
Tue Jan 22 11:21:30 MSK 2008
Author: serega
Date: 2008-01-22 11:21:30 +0300 (Tue, 22 Jan 2008)
New Revision: 6717
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6717
Added:
3.x/trunk/limb/web_app/src/wact/fetch/
3.x/trunk/limb/web_app/src/wact/fetch/lmbActiveRecordFetchComponent.class.php
3.x/trunk/limb/web_app/src/wact/request/
3.x/trunk/limb/web_app/src/wact/util/
Removed:
3.x/trunk/limb/web_app/src/wact/components/
3.x/trunk/limb/web_app/src/wact/tags/
Log:
-- several movements of WACT tags in WEB_APP package
Copied: 3.x/trunk/limb/web_app/src/wact/fetch (from rev 6715, 3.x/trunk/limb/web_app/src/wact/tags/fetch)
Copied: 3.x/trunk/limb/web_app/src/wact/fetch/lmbActiveRecordFetchComponent.class.php (from rev 6715, 3.x/trunk/limb/web_app/src/wact/components/lmbActiveRecordFetchComponent.class.php)
===================================================================
--- 3.x/trunk/limb/web_app/src/wact/fetch/lmbActiveRecordFetchComponent.class.php (rev 0)
+++ 3.x/trunk/limb/web_app/src/wact/fetch/lmbActiveRecordFetchComponent.class.php 2008-01-22 08:21:30 UTC (rev 6717)
@@ -0,0 +1,38 @@
+<?php
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
+ */
+lmb_require('limb/wact/src/components/fetch/WactFetchComponent.class.php');
+
+/**
+ * class lmbActiveRecordFetchComponent.
+ *
+ * @package web_app
+ * @version $Id$
+ */
+class lmbActiveRecordFetchComponent extends WactFetchComponent
+{
+ protected $find_params = array();
+
+ function resetFindParams()
+ {
+ $this->find_params = array();
+ }
+
+ function addFindParam($value)
+ {
+ $this->find_params[] = $value;
+ }
+
+ protected function _createFetcher()
+ {
+ $fetcher = parent :: _createFetcher();
+ $fetcher->setFindParams($this->find_params);
+ return $fetcher;
+ }
+}
+
Copied: 3.x/trunk/limb/web_app/src/wact/request (from rev 6715, 3.x/trunk/limb/web_app/src/wact/tags/request)
Copied: 3.x/trunk/limb/web_app/src/wact/util (from rev 6715, 3.x/trunk/limb/web_app/src/wact/tags/util)
More information about the limb-svn
mailing list