@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * PDF library to generate PDF document using the library DOMPDF |
@@ -45,8 +45,8 @@ discard block |
||
45 | 45 | * Create PDF library instance |
46 | 46 | */ |
47 | 47 | public function __construct(){ |
48 | - $this->logger =& class_loader('Log', 'classes'); |
|
49 | - $this->logger->setLogger('Library::PDF'); |
|
48 | + $this->logger =& class_loader('Log', 'classes'); |
|
49 | + $this->logger->setLogger('Library::PDF'); |
|
50 | 50 | |
51 | 51 | require_once VENDOR_PATH.'dompdf/dompdf_config.inc.php'; |
52 | 52 | $this->dompdf = new Dompdf(); |
@@ -76,10 +76,10 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * Return the instance of Dompdf |
|
80 | - * |
|
81 | - * @return object the dompdf instance |
|
82 | - */ |
|
79 | + * Return the instance of Dompdf |
|
80 | + * |
|
81 | + * @return object the dompdf instance |
|
82 | + */ |
|
83 | 83 | public function getDompdf(){ |
84 | 84 | return $this->dompdf; |
85 | 85 | } |
@@ -74,9 +74,9 @@ discard block |
||
74 | 74 | protected $_uid; |
75 | 75 | |
76 | 76 | /** |
77 | - * The logger instance |
|
78 | - * @var Log |
|
79 | - */ |
|
77 | + * The logger instance |
|
78 | + * @var Log |
|
79 | + */ |
|
80 | 80 | private $logger; |
81 | 81 | |
82 | 82 | /** |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | public function __construct() |
88 | 88 | { |
89 | 89 | $this->logger =& class_loader('Log', 'classes'); |
90 | - $this->logger->setLogger('Library::Email'); |
|
90 | + $this->logger->setLogger('Library::Email'); |
|
91 | 91 | $this->reset(); |
92 | 92 | } |
93 | 93 | |
@@ -112,13 +112,13 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * setFrom |
|
116 | - * |
|
117 | - * @param string $email The email to send as from. |
|
118 | - * @param string $name The name to send as from. |
|
119 | - * |
|
120 | - * @return self |
|
121 | - */ |
|
115 | + * setFrom |
|
116 | + * |
|
117 | + * @param string $email The email to send as from. |
|
118 | + * @param string $name The name to send as from. |
|
119 | + * |
|
120 | + * @return self |
|
121 | + */ |
|
122 | 122 | public function setFrom($email, $name = null) |
123 | 123 | { |
124 | 124 | $this->addMailHeader('From', (string) $email, (string) $name); |
@@ -140,11 +140,11 @@ discard block |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
143 | - * Set destination using array |
|
144 | - * @params array $emails the list of recipient. This is an associative array name => email |
|
145 | - * @example array('John Doe' => '[email protected]') |
|
146 | - * @return Object the current instance |
|
147 | - */ |
|
143 | + * Set destination using array |
|
144 | + * @params array $emails the list of recipient. This is an associative array name => email |
|
145 | + * @example array('John Doe' => '[email protected]') |
|
146 | + * @return Object the current instance |
|
147 | + */ |
|
148 | 148 | public function setTos(array $emails) |
149 | 149 | { |
150 | 150 | foreach ($emails as $name => $email) { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | class Cookie{ |
28 | 28 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @file Assets.php |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | class StringHash{ |
28 | 28 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | class Html{ |
28 | 28 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | |
28 | 28 | class Form{ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | if(! function_exists('__')){ |
28 | 28 | /** |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with this program; if not, write to the Free Software |
24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | - */ |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | |
28 | 28 | /** |