summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/index
diff options
context:
space:
mode:
authorwei <>2006-05-11 11:35:35 +0000
committerwei <>2006-05-11 11:35:35 +0000
commitcc61c2d74e151a7fb75303f8740edfe74cdd9eb8 (patch)
tree3d57f3db231469caaadf42eabe095cc6f17b9950 /demos/quickstart/protected/index
parent90e706cda83d3b64a5508ed182956a1e3110ff26 (diff)
Update api docs and add API search
Diffstat (limited to 'demos/quickstart/protected/index')
-rw-r--r--demos/quickstart/protected/index/ZendSearch.php11
-rw-r--r--demos/quickstart/protected/index/api/_0.cfsbin0 -> 378721 bytes
-rw-r--r--demos/quickstart/protected/index/api/deletable (renamed from demos/quickstart/protected/index/data/deletable)bin4 -> 4 bytes
-rw-r--r--demos/quickstart/protected/index/api/segmentsbin0 -> 27 bytes
-rw-r--r--demos/quickstart/protected/index/quickstart/_0.cfs (renamed from demos/quickstart/protected/index/data/_0.cfs)bin329302 -> 329302 bytes
-rw-r--r--demos/quickstart/protected/index/quickstart/deletablebin0 -> 4 bytes
-rw-r--r--demos/quickstart/protected/index/quickstart/segments (renamed from demos/quickstart/protected/index/data/segments)bin27 -> 27 bytes
7 files changed, 7 insertions, 4 deletions
diff --git a/demos/quickstart/protected/index/ZendSearch.php b/demos/quickstart/protected/index/ZendSearch.php
index 136004de..ec15729c 100644
--- a/demos/quickstart/protected/index/ZendSearch.php
+++ b/demos/quickstart/protected/index/ZendSearch.php
@@ -26,10 +26,13 @@ class ZendSearch extends TModule
protected function importZendNamespace()
{
- $zendBase = !is_null($this->_ZF) ? $this->_ZF.'.*' : 'Application.index.*';
- $path = !is_null($this->_ZF) ? $this->_ZF.'.Zend.*' : 'Application.index.Zend.*';
- Prado::using($zendBase);
- Prado::setPathOfAlias('Zend', Prado::getPathOfNamespace($path));
+ if(is_null(Prado::getPathOfAlias('Zend')))
+ {
+ $zendBase = !is_null($this->_ZF) ? $this->_ZF.'.*' : 'Application.index.*';
+ $path = !is_null($this->_ZF) ? $this->_ZF.'.Zend.*' : 'Application.index.Zend.*';
+ Prado::using($zendBase);
+ Prado::setPathOfAlias('Zend', Prado::getPathOfNamespace($path));
+ }
}
protected function getZendSearch()
diff --git a/demos/quickstart/protected/index/api/_0.cfs b/demos/quickstart/protected/index/api/_0.cfs
new file mode 100644
index 00000000..b5eb219b
--- /dev/null
+++ b/demos/quickstart/protected/index/api/_0.cfs
Binary files differ
diff --git a/demos/quickstart/protected/index/data/deletable b/demos/quickstart/protected/index/api/deletable
index 593f4708..593f4708 100644
--- a/demos/quickstart/protected/index/data/deletable
+++ b/demos/quickstart/protected/index/api/deletable
Binary files differ
diff --git a/demos/quickstart/protected/index/api/segments b/demos/quickstart/protected/index/api/segments
new file mode 100644
index 00000000..da225127
--- /dev/null
+++ b/demos/quickstart/protected/index/api/segments
Binary files differ
diff --git a/demos/quickstart/protected/index/data/_0.cfs b/demos/quickstart/protected/index/quickstart/_0.cfs
index f3cb1bfb..f3cb1bfb 100644
--- a/demos/quickstart/protected/index/data/_0.cfs
+++ b/demos/quickstart/protected/index/quickstart/_0.cfs
Binary files differ
diff --git a/demos/quickstart/protected/index/quickstart/deletable b/demos/quickstart/protected/index/quickstart/deletable
new file mode 100644
index 00000000..593f4708
--- /dev/null
+++ b/demos/quickstart/protected/index/quickstart/deletable
Binary files differ
diff --git a/demos/quickstart/protected/index/data/segments b/demos/quickstart/protected/index/quickstart/segments
index 5509e664..5509e664 100644
--- a/demos/quickstart/protected/index/data/segments
+++ b/demos/quickstart/protected/index/quickstart/segments
Binary files differ