4 include_once
'./Services/COPage/classes/class.ilPageContent.php';
21 'login-form' =>
'login_form',
22 'cas-login-form' =>
'cas_login_form',
23 'shibboleth-login-form' =>
'shib_login_form',
24 'registration-link' =>
'registration_link',
25 'language-selection' =>
'language_selection',
26 'user-agreement' =>
'user_agreement_link' 51 parent::setNode($a_node);
52 $this->res_node = $a_node->first_child();
61 public function create(&$a_pg_obj, $a_hier_id, $a_pc_id =
"")
65 $lpe = $this->dom->create_element(
'LoginPageElement');
66 $this->res_node = $this->node->append_child($lpe);
77 $this->res_node->set_attribute(
'Type',
$a_type);
88 if (is_object($this->res_node)) {
89 return $this->res_node->get_attribute(
'Type');
98 $this->res_node->set_attribute(
'HorizontalAlign', $a_alignment);
107 if (is_object($this->res_node)) {
108 return $this->res_node->get_attribute(
'HorizontalAlign');
118 return array(
"ed_insert_login_page_element");
getAlignment()
Get alignment.
static getAllTypes()
Get all types.
setType($a_type)
Set Type.
setLoginPageElementType($a_type)
Set Type of Login Page Element.
setAlignment($a_alignment)
set alignment
setNode($a_node)
Set node.
init()
Init page content component.
getLoginPageElementType()
Get log page element type.
create(&$a_pg_obj, $a_hier_id, $a_pc_id="")
Create resources node in xml.
Create styles array
The data for the language used.
createPageContentNode($a_set_this_node=true)
Create page content node (always use this method first when adding a new element) ...
static getLangVars()
Get lang vars needed for editing.
Class ilPCLoginPageElement.