Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
34594c88
Commit
34594c88
authored
Mar 26, 2014
by
fufroma
Browse files
Suggested patchs
parent
3b142816
Changes
4
Hide whitespace changes
Inline
Side-by-side
bureau/class/db_mysql.php
View file @
34594c88
...
...
@@ -292,6 +292,7 @@ class DB_Sql {
/**
* @param string $Name
* @return integer
*/
function
f
(
$Name
)
{
return
$this
->
Record
[
$Name
];
...
...
bureau/class/m_action.php
View file @
34594c88
...
...
@@ -223,7 +223,6 @@ class m_action {
*
* @global m_err $err
* @global m_mysql $db
* @param type $all
* @return boolean
*/
function
get_old
()
{
...
...
bureau/class/m_admin.php
View file @
34594c88
...
...
@@ -312,8 +312,8 @@ class m_admin {
* @global type $err
* @global type $mem
* @global type $cuid
* @param
boolean
$all
* @param
boolean
$creator
* @param
integer
$all
* @param
integer
$creator
* @param string $pattern
* @param string $pattern_type
* @return boolean | array an associative array containing all the fields of the
...
...
@@ -564,11 +564,11 @@ class m_admin {
* @param string $prenom First name of the account owner
* @param string $mail Email address of the account owner, useful to get
* one's lost password
* @param
boolean
$canpass
* @param
integer
$canpass
* @param string $type Account type for quotas
* @param int $duration
* @param string $notes
* @param
boolean
$force
* @param
integer
$force
* @param boolean $create_dom
* @param int $db_server_id
* @return boolean Returns FALSE if an error occurs, TRUE if not.
...
...
@@ -1413,7 +1413,7 @@ EOF;
* @param int $maxsize Maximum Password size
* @param int $classcount How many class of characters must this password have
* @param boolean $allowlogin Do we allow the password to be like the login ?
* @return boolean
TRUE
if the policy has been edited, or FALSE if an error occured.
* @return boolean if the policy has been edited, or FALSE if an error occured.
*/
function
editPolicy
(
$policy
,
$minsize
,
$maxsize
,
$classcount
,
$allowlogin
)
{
global
$db
;
...
...
bureau/class/m_bro.php
View file @
34594c88
...
...
@@ -99,8 +99,8 @@ class m_bro {
* @param string $dir
* @global m_mem $mem
* @param string $dir Dossier absolu que l'on souhaite vérifier
* @param
boolean
$strip
* @return
boolean
|string Retourne le nom du dossier vrifi, relatif au
* @param
integer
$strip
* @return
false
|string Retourne le nom du dossier vrifi, relatif au
* dossier de l'utilisateur courant, ventuellement corrig.
* ou FALSE si le dossier n'est pas dans le dossier de l'utilisateur.
*/
...
...
@@ -543,8 +543,6 @@ class m_bro {
*
* @global m_err $err
* @param string $R Dossier dans lequel se trouve les fichiers renommer.
* @param array $old Ancien nom des fichiers
* @param array $new Nouveau nom des fichiers
* @param boolean $verbose Shall we 'echo' what we did ?
* @return boolean TRUE Si les fichiers ont t renomms, FALSE si une erreur s'est produite.
*/
...
...
@@ -645,7 +643,7 @@ class m_bro {
* @param string $file Full or relative path to the archive
* @param string $dest Path of the extract destination, the
* same directory as the archive by default
* @return
boolean
!= 0 on error
* @return
integer|null
!= 0 on error
*/
function
ExtractFile
(
$file
,
$dest
=
null
)
{
global
$err
,
$cuid
,
$mem
,
$action
;
...
...
@@ -786,7 +784,7 @@ class m_bro {
* @global m_err $err
* @param string $R Dossier dans lequel on cherche le fichier
* @param string $file Fichier dont on souhaite obtenir le contenu.
* @return
boolean
TRUE si le fichier a bien été mis sur
* @return
string|false
TRUE si le fichier a bien été mis sur
* echo, ou FALSE si une erreur est survenue.
*/
function
content
(
$R
,
$file
)
{
...
...
@@ -869,7 +867,7 @@ class m_bro {
* @global m_err $err
* @param string $dir
* @param string $name
* @return boolean
* @return
null|
boolean
*/
function
can_edit
(
$dir
,
$name
)
{
global
$mem
,
$err
;
...
...
@@ -958,7 +956,7 @@ class m_bro {
* @global m_err $err
* @param string $R
* @param string $file
* @return
boolean
* @return
null|false
*/
function
content_send
(
$R
,
$file
)
{
global
$err
;
...
...
@@ -985,7 +983,7 @@ class m_bro {
* écrasé sans confirmation.
* @param string $R Dossier dans lequel on modifie le fichier
* @param string $texte Texte du fichier à sauver dedans
* @return
boolean
TRUE si tout s'est bien pass, FALSE si une erreur s'est produite.
* @return
false|null
TRUE si tout s'est bien pass, FALSE si une erreur s'est produite.
*/
function
save
(
$file
,
$R
,
$texte
)
{
global
$err
;
...
...
@@ -1152,7 +1150,7 @@ class m_bro {
* @global m_mem $mem
* @global m_err $err
* @param string $dir Le chemin destination du tarball produit
* @return boolean
* @return boolean
|null
*/
function
alternc_export_data
(
$dir
){
global
$mem
,
$err
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment