summaryrefslogtreecommitdiff
path: root/demos/address-book/protected/pages/FlexApp.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /demos/address-book/protected/pages/FlexApp.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'demos/address-book/protected/pages/FlexApp.php')
-rw-r--r--demos/address-book/protected/pages/FlexApp.php226
1 files changed, 113 insertions, 113 deletions
diff --git a/demos/address-book/protected/pages/FlexApp.php b/demos/address-book/protected/pages/FlexApp.php
index e7a5bf2a..d9b20ab7 100644
--- a/demos/address-book/protected/pages/FlexApp.php
+++ b/demos/address-book/protected/pages/FlexApp.php
@@ -1,114 +1,114 @@
-<?php
-/**
- * @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
- * @since 3.1
- */
-class FlexApp extends TTemplateControl
-{
- private $_parameters;
-
- /**
- * FlashVar parameter name value pairs.
- *
- * NOTE: parameter names must be accessed in lowercase in Flex Applications!
- *
- * @return TAttributeCollection
- */
- public function getParameters()
- {
- if($this->_parameters===null)
- $this->_parameters = new TAttributeCollection();
- return $this->_parameters;
- }
-
- public function getFlashVars()
- {
- $params = array();
- foreach($this->getParameters() as $name=>$value)
- $params[] = $name.'='.$value;
- return implode('&', $params);
- }
-
- public function getWidth()
- {
- return $this->getViewState('Width', '450');
- }
-
- public function setWidth($value)
- {
- $this->setViewState('Width', $value, '450');
- }
-
- public function getHeight()
- {
- return $this->getViewState('Height', '300');
- }
-
- public function setHeight($value)
- {
- $this->setViewState('Height', $value, '300');
- }
-
- public function getBinDirectory()
- {
- return $this->getViewState('Bin');
- }
-
- public function setBinDirectory($value)
- {
- $this->setViewState('Bin', $value);
- }
-
- public function getAppName()
- {
- return $this->getViewState('AppName');
- }
-
- public function setAppName($value)
- {
- $this->setViewState('AppName', $value);
- }
-
- public function getQuality()
- {
- return $this->getViewState('Quality', 'high');
- }
-
- public function setQuality($value)
- {
- $this->setViewState('Quality', $value, 'high');
- }
-
- public function getBgcolor()
- {
- return $this->getViewState('bgcolor', '#ffffff');
- }
-
- public function setBgColor($value)
- {
- $this->setViewState('bgcolor', $value, '#ffffff');
- }
-
- public function getAlign()
- {
- return $this->getViewState('align', 'middle');
- }
-
- public function setAlign($value)
- {
- $this->setViewState('align', $value, 'middle');
- }
-
- public function getAllowScriptAccess()
- {
- return $this->getViewState('allowScriptAccess', 'sameDomain');
- }
-
- public function setAllowScriptAccess($value)
- {
- $this->setViewState('allowScriptAccess', $value, 'sameDomain');
- }
-}
-
+<?php
+/**
+ * @author Wei Zhuo <weizho[at]gmail[dot]com>
+ * @version $Id$
+ * @since 3.1
+ */
+class FlexApp extends TTemplateControl
+{
+ private $_parameters;
+
+ /**
+ * FlashVar parameter name value pairs.
+ *
+ * NOTE: parameter names must be accessed in lowercase in Flex Applications!
+ *
+ * @return TAttributeCollection
+ */
+ public function getParameters()
+ {
+ if($this->_parameters===null)
+ $this->_parameters = new TAttributeCollection();
+ return $this->_parameters;
+ }
+
+ public function getFlashVars()
+ {
+ $params = array();
+ foreach($this->getParameters() as $name=>$value)
+ $params[] = $name.'='.$value;
+ return implode('&', $params);
+ }
+
+ public function getWidth()
+ {
+ return $this->getViewState('Width', '450');
+ }
+
+ public function setWidth($value)
+ {
+ $this->setViewState('Width', $value, '450');
+ }
+
+ public function getHeight()
+ {
+ return $this->getViewState('Height', '300');
+ }
+
+ public function setHeight($value)
+ {
+ $this->setViewState('Height', $value, '300');
+ }
+
+ public function getBinDirectory()
+ {
+ return $this->getViewState('Bin');
+ }
+
+ public function setBinDirectory($value)
+ {
+ $this->setViewState('Bin', $value);
+ }
+
+ public function getAppName()
+ {
+ return $this->getViewState('AppName');
+ }
+
+ public function setAppName($value)
+ {
+ $this->setViewState('AppName', $value);
+ }
+
+ public function getQuality()
+ {
+ return $this->getViewState('Quality', 'high');
+ }
+
+ public function setQuality($value)
+ {
+ $this->setViewState('Quality', $value, 'high');
+ }
+
+ public function getBgcolor()
+ {
+ return $this->getViewState('bgcolor', '#ffffff');
+ }
+
+ public function setBgColor($value)
+ {
+ $this->setViewState('bgcolor', $value, '#ffffff');
+ }
+
+ public function getAlign()
+ {
+ return $this->getViewState('align', 'middle');
+ }
+
+ public function setAlign($value)
+ {
+ $this->setViewState('align', $value, 'middle');
+ }
+
+ public function getAllowScriptAccess()
+ {
+ return $this->getViewState('allowScriptAccess', 'sameDomain');
+ }
+
+ public function setAllowScriptAccess($value)
+ {
+ $this->setViewState('allowScriptAccess', $value, 'sameDomain');
+ }
+}
+
?> \ No newline at end of file