summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TLoginUtil.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TLoginUtil.php')
-rw-r--r--framework/Web/UI/WebControls/TLoginUtil.php173
1 files changed, 173 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TLoginUtil.php b/framework/Web/UI/WebControls/TLoginUtil.php
new file mode 100644
index 00000000..073f580d
--- /dev/null
+++ b/framework/Web/UI/WebControls/TLoginUtil.php
@@ -0,0 +1,173 @@
+<?php
+class TLoginUtil
+{
+ const _passwordReplacementKey='<%\s*Password\s*%>';
+ const _userNameReplacementKey='<%\s*UserName\s*%>';
+
+ // public function onSendingMailDelegate($param)
+ // {
+ //
+ // }
+ // public function onSendMailErrorDelegate($param)
+ // {
+ //
+ // }
+ public static function applyStyleToLiteral(TLiteral $literal,$text,$setTableCellVisible)
+ {
+
+ }
+ public static function copyBorderStyles(TControl $control,$style)
+ {
+ if (($style!==null) && strlen($providerName)!==0)
+ {
+ $control->BorderStyle = $style->BorderStyle;
+ $control->BorderColor = $style->BorderColor;
+ $control->BorderWidth = $style->BorderWidth;
+ $control->BackColor = $style->BackColor;
+ $control->CssClass = $style->CssClass;
+ }
+ }
+ public static function copyStyleToInnerControl(TControl $control,$style)
+ {
+ if (($style!==null) && strlen($providerName)!==0)
+ {
+ $control->ForeColor = $style->ForeColor;
+ $control->Font = $style->Font;
+ }
+ }
+ private static function createMailMessage($email,$userName,$password,$mailDefinition,$defaultSubject,$defaultBody,$owner)
+ {
+
+ }
+ public static function getProvider($providerName)
+ {
+ if (strlen($providerName)===0)
+ {
+ return TMembership::getProvider();
+ }
+ $provider1 = TMembership::getProviders($providerName);
+ if ($provider1===null)
+ {
+ throw new TException('WebControl_CantFindProvider');
+ }
+ return $provider1;
+ }
+ public static function getUser(TControl $c)
+ {
+
+ }
+ public static function getUserName(TControl $c)
+ {
+
+ }
+ public static function sendPasswordMail($email,$userName,$password,$mailDefinition,$defaultSubject,$defaultBody,$onSendmailDelegate,$onSendMailErrorDelegate,$owner)
+ {
+
+ }
+ public static function setTableCellStyle(TControl $control,$style)
+ {
+ // $control1 = $control->Parent;
+ // if ($control1!==null)
+ // {
+ // $control1->ApplyStyle=$style;
+ // }
+ }
+ public static function setTableCellVisible(TControl $control,$visible)
+ {
+ $control1 = $control->Parent;
+ if ($control1!==null)
+ {
+ $control1->Visible=$visible;
+ }
+ }
+}
+class TDisappearingTableRow extends TTableRow
+{
+ public function render($writer)
+ {
+ // bool flag1 = false;
+ // foreach (TableCell cell1 in this.Cells)
+ // {
+ // if (cell1.Visible)
+ // {
+ // flag1=true;
+ // break;
+ // }
+ // }
+ // if (flag1)
+ // {
+ // base.Render(writer);
+ // }
+ }
+}
+class TGenericContainer extends TWebControl
+{
+ private $_borderTable;
+ private $_convertingToTemplate=false;
+ private $_layoutTable;
+ private $_owner;
+ private $_usingDefaultTemplate=false;
+
+ public function getBorderTable()
+ {
+ return $this->_borderTable;
+ }
+ public function setBorderTable($value)
+ {
+ $this->_borderTable = $value;
+ }
+ public function getConvertingToTemplate()
+ {
+ return $this->_convertingToTemplate;
+ }
+ public function getLayoutTable()
+ {
+ return $this->_layoutTable;
+ }
+ public function setLayoutTable($value)
+ {
+ $this->_layoutTable = $value;
+ }
+ public function getOwner()
+ {
+ return $this->_owner;
+ }
+ public function getUsingDefaultTemplate()
+ {
+ return $this->_usingDefaultTemplate;
+ }
+
+ public function __construct($owner)
+ {
+ $this->_owner=$owner;
+ }
+ public function findControl($id,$required,$errorResourceKey)
+ {
+
+ }
+ protected function findOptionalControl($id)
+ {
+
+ }
+ protected function findRequiredControl($id,$errorResourceKey)
+ {
+
+ }
+ public function focus()
+ {
+
+ }
+ public function render($writer)
+ {
+
+ }
+ private function renderContentsInUnitTable($writer)
+ {
+
+ }
+ protected function verifyControlNotPresent($id,$errorResourceKey)
+ {
+
+ }
+}
+?> \ No newline at end of file