From 82621f4f0a7e47314222fa3b21a0745425e1248b Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 14 May 2007 11:40:22 +0000 Subject: moving unfinished files to dev branch. --- framework/Web/UI/WebControls/TLoginUtil.php | 183 ---------------------------- 1 file changed, 183 deletions(-) delete mode 100644 framework/Web/UI/WebControls/TLoginUtil.php (limited to 'framework/Web/UI/WebControls/TLoginUtil.php') diff --git a/framework/Web/UI/WebControls/TLoginUtil.php b/framework/Web/UI/WebControls/TLoginUtil.php deleted file mode 100644 index 10b3b2a9..00000000 --- a/framework/Web/UI/WebControls/TLoginUtil.php +++ /dev/null @@ -1,183 +0,0 @@ -'; - const _userNameReplacementKey='<%\s*UserName\s*%>'; - - // public function onSendingMailDelegate($param) - // { - // - // } - // public function onSendMailErrorDelegate($param) - // { - // - // } - public static function createChildTable($convertingToTemplate) - { - if ($convertingToTemplate) - { - return new TTable(); - } - else - return new TTable(); - // else - // return new TChildTable(2); - } - 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) - { - $flag1 = false; - foreach ($this->getCells() as $cell1) - { - if ($cell1->getVisible()) - { - $flag1 = true; - break; - } - } - if ($flag1) - { - parent::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 -- cgit v1.2.3