PHP Method Schema::getProfileFields, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::getProfileFields from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Frequently Used Methods
Example #1
Show file File: SchemaPropertyElementPeer.php Project: jonphipps/Metadata-Registry
0
 /**
  * @param SchemaProperty $schema_property
  * @param int            $userId
  * @param Connection     $con
  *
  * @returns array Affected statements
  */
 public static function updateElementsFromForm(SchemaProperty $schema_property, $userId, $con = null)
 {
     $language = myActionTools::getEditLanguage();
     $fields = Schema::getProfileFields();
     //add parent_uri to fields
     $fields[] = "parent_uri";
     $affected = [];
     //iterate through the fields
     foreach ($fields as $key => $value) {
         //lookup each field in the array
         //if it's a match compare the values
         if ($key) {
             //if the new value is empty and the old value is not, delete the old value
             if ($key) {
             } else {
                 if ($key) {
                 }
             }
         } else {
         }
     }
     return $affected;
 }
Example #2
Show file File: SchemaPeer.php Project: jonphipps/Metadata-Registry
0
 /**
  * alias for profile fields
  *
  * @return array The fields
  */
 public static function getProfileFields()
 {
     return Schema::getProfileFields();
 }