Lines Matching refs:this
22 return $this->mandatoryArgumentNames;
32 return $this->optionalArgumentNames;
36 $this->setValidArgumentLists();
37 $this->setExtraArgumentList();
38 $this->setShortArgumentList();
46 if(count ($this->mandatoryArgumentNames) > 0) {
47 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) {
48 $this->extraArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", ";
52 if(count ($this->optionalArgumentNames) > 0) {
53 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) {
54 $this->extraArgumentList .= "\$".$this->optionalArgumentNames[$i].", ";
58 $this->extraArgumentList= $this->extraArgumentList. "\$extra_arg";
68 return $this->extraArgumentList;
78 if(count ($this->mandatoryArgumentNames) > 0) {
79 for( $i = 0; $i < count( $this->mandatoryArgumentNames ) - 1; $i++) {
80 $this->shortArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", ";
82 $this->shortArgumentList = substr($this->shortArgumentList, 0, -2);
93 return $this->shortArgumentList;
102 $this->allowedArgumentLists[0] = '';
103 if(count ($this->mandatoryArgumentNames) > 0) {
104 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) {
105 $this->allowedArgumentLists[0] .= "\$".$this->mandatoryArgumentNames[$i].", ";
109 if(count ($this->optionalArgumentNames) > 0) {
110 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) {
111 …$this->allowedArgumentLists[] = $this->allowedArgumentLists[$i]."\$".$this->optionalArgumentNames[…
112 $this->allowedArgumentLists[$i] = substr ($this->allowedArgumentLists[$i], 0, -2);
116 …$this->allowedArgumentLists[count($this->allowedArgumentLists) -1 ] = substr($this->allowedArgumen…
126 return $this->allowedArgumentLists;
136 return end($this->allowedArgumentLists);
145 if(count ($this->mandatoryArgumentNames) > 0) {
146 foreach( $this->mandatoryArgumentNames as $name) {
147 $this->initialisationStatements[] = "\$".$name." = ";
150 if(count ($this->optionalArgumentNames) > 0) {
151 foreach( $this->optionalArgumentNames as $name) {
152 $this->initialisationStatements[] = "\$".$name." = ";
163 return $this->initialisationStatements;